projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b479ff9
)
tests: No need to allocate colors anymore
author
Benjamin Otte
<otte@redhat.com>
Fri, 27 Aug 2010 18:02:04 +0000
(20:02 +0200)
committer
Benjamin Otte
<otte@redhat.com>
Sun, 26 Sep 2010 13:11:31 +0000
(15:11 +0200)
tests/testwindows.c
patch
|
blob
|
history
diff --git
a/tests/testwindows.c
b/tests/testwindows.c
index 520e167e55b3cb89259cbb3a25b141fbae1d9eeb..2a4db4db6bbc3e11e45bf1c6b1591029dcc1ae3c 100644
(file)
--- a/
tests/testwindows.c
+++ b/
tests/testwindows.c
@@
-51,8
+51,6
@@
create_window (GdkWindow *parent,
bg->green = g_random_int_range (0, 0xffff);;
}
- if (!gdk_colormap_alloc_color (gtk_widget_get_colormap (darea), bg, FALSE, TRUE))
- g_assert_not_reached ();
gdk_window_set_background (window, bg);
g_object_set_data_full (G_OBJECT (window), "color", bg, g_free);